<?php

use yii\helpers\Html;
use yii\widgets\Breadcrumbs;


/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '其他';
$this->params['breadcrumbs'][] = ['label' => '设置', 'url' => ['/setting/user/index']];
$this->params['breadcrumbs'][] = $this->title;

?>


<?= Breadcrumbs::widget([
    'homeLink' => ['label' => '医疗管理系统', 'url' => '#'],
    'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]) ?>



<table class="table table-striped table-bordered">
    <thead>
    <tr>
        <th width="20%">#</th>
        <th>描述</th>
        <th width="20%"></th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <th scope="row">1</th>
        <td>运行该脚本将删除所有未曾被使用的标签</td>
        <td>
            <?= Html::button('删除未使用标签', [
                'class' => 'btn btn-primary',
                'data' => [
                    'confirm' => '确定运行`删除未使用标签`脚本?',
                    'method' => 'get',
                ],
                'onClick' => 'helper.ajax_get("/setting/miscellaneous/delete-extra-labels");',
            ]) ?>
        </td>
    </tr>
    </tbody>
</table>